package com.topvision.common.enumeration;

/**
 *
 * @Title: IdentityTypeEnum
 * @Package com.topvision.common.enumeration
 * @Description: TODO
 * @author shengwm
 * @date 2017/7/18 20:57
 * @version V0.0.1
 */
public enum IdentityTypeEnum implements BaseEnum {
    IDENTITY_TYPE_0("0", "账号/工号"),
    IDENTITY_TYPE_1("1", "手机号"),
    IDENTITY_TYPE_2("2", "邮箱"),
    IDENTITY_TYPE_3("3", "微信"),
    IDENTITY_TYPE_4("4", "QQ"),
    IDENTITY_TYPE_5("5", "微博"),;

    private final String value;
    private final String label;

    IdentityTypeEnum(String value, String label) {
        this.value = value;
        this.label = label;
    }

    /**
     * 获取值
     *
     * @return
     */
    @Override
    public String getValue() {
        return value;
    }

    /**
     * 获取标签
     *
     * @return
     */
    @Override
    public String getLabel() {
        return label;
    }
}
